<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <th:block th:include="include :: header('凭证扫描')" />
    <style>
    </style>
</head>
<body>
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <ul class="list-unstyled list-inline">
                <li class="text-center">
                    <span>
                        <button class="btn btn-primary dim btn-large-dim" type="button" onclick="showScan('normal')"><i class="glyphicon glyphicon-blackboard"></i>
                        </button>
                        <h3>正常扫描</h3>
                   </span>
                </li>
                <li class="text-center">
                    <span>
                        <button class="btn btn-warning dim btn-large-dim" type="button" onclick="showScan('add')"><i class="fa fa-warning"></i>
                        </button>
                        <h3>批次补扫</h3>
                   </span>
                </li>
                <li class="text-center">
                    <span>
                        <button class="btn btn-danger  dim btn-large-dim" type="button" onclick="showScan('other')"><i class="fa fa-heart"></i>
                        </button>
                        <h3>其他扫描</h3>
                   </span>
                </li>
            </ul>
        </div>
    </div>
</div>

<th:block th:include="include :: footer" />
</body>
<script th:inline="javascript">
    var prefix = '/sdi/scan';
    var g_TrDate=""; //业务日期
    var g_scanDate=""; //扫描日期
    var g_TrTeller=""; //柜员
    var g_UnitCode=""; //机构
    var g_num=""; //批次张数
    var g_ArcId ="";
    var fileListFrame = "";

    function showScan(type) {
        if(window.showModalDialog)
        {
            ChildWidth = screen.availWidth;
            ChildHeight = screen.availHeight;
            var obj = window.showModalDialog(prefix+'/scan'+'/'+type,window,'dialogWidth:'+ ChildWidth +'px;dialogHeight:' + ChildHeight + 'px;center:yes;help:yes;resizable:no;status:yes;scroll:no;');
        }
    }
</script>
</html>